package com.example.hotelsystem.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class OrderSearchVO {
    private Integer currentPage = 1;

    private String idcard;

    @ApiModelProperty(value = "对应dictName字典名称：hotelOrderStatus")
    private Integer status;

    @JsonFormat(pattern = "yyyyMMdd")
    @DateTimeFormat(pattern = "yyyyMMdd")
    Date checkinTime;

    @JsonFormat(pattern = "yyyyMMdd")
    @DateTimeFormat(pattern = "yyyyMMdd")
    Date checkoutTime;
}
